package com.dc.model;

import java.util.Date;

public class Order {
    private Integer order_id;
    private Integer user_id;
    private Integer shoes_id;
    private String user_name;
    private String phone;
    private Integer address_id;
    private Integer pay_type;
    private Integer state;
    private Integer pay_state;
    private Date create_time;
    private Date update_time;
    private Integer version;
    private Integer is_deleted;
    private Integer payment_id;

    public Integer getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getShoes_id() {
        return shoes_id;
    }

    public void setShoes_id(Integer shoes_id) {
        this.shoes_id = shoes_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getAddress_id() {
        return address_id;
    }

    public void setAddress_id(Integer address_id) {
        this.address_id = address_id;
    }

    public Integer getPay_type() {
        return pay_type;
    }

    public void setPay_type(Integer pay_type) {
        this.pay_type = pay_type;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getPay_state() {
        return pay_state;
    }

    public void setPay_state(Integer pay_state) {
        this.pay_state = pay_state;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getIs_deleted() {
        return is_deleted;
    }

    public void setIs_deleted(Integer is_deleted) {
        this.is_deleted = is_deleted;
    }

    public Integer getPayment_id() {
        return payment_id;
    }

    public void setPayment_id(Integer payment_id) {
        this.payment_id = payment_id;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Order{");
        sb.append("order_id=").append(order_id);
        sb.append(", user_id=").append(user_id);
        sb.append(", shoes_id=").append(shoes_id);
        sb.append(", user_name='").append(user_name).append('\'');
        sb.append(", phone='").append(phone).append('\'');
        sb.append(", address_id=").append(address_id);
        sb.append(", pay_type=").append(pay_type);
        sb.append(", state=").append(state);
        sb.append(", pay_state=").append(pay_state);
        sb.append(", create_time=").append(create_time);
        sb.append(", update_time=").append(update_time);
        sb.append(", version=").append(version);
        sb.append(", is_deleted=").append(is_deleted);
        sb.append(", payment_id=").append(payment_id);
        sb.append('}');
        return sb.toString();
    }
}
